<%@ page language="java" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="<%=path %>/js/jquery/easyui.css">
		<link rel="stylesheet" type="text/css" href="<%=path %>/js/jquery/icon.css">
		<link rel="stylesheet" type="text/css" href="<%=path %>/js/jquery/demo.css">
		<script type="text/javascript" src="<%=path %>/js/jquery/jquery-1.6.min.js"></script>
		<script type="text/javascript" src="<%=path %>/js/jquery/jquery.easyui.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$('#tt').datagrid({
				url: '<%=path %>/categoryMaintain.do?action=listVechileSeries',
				height: 'auto',
				fitColumns: true,
				columns:[[
					{field:'categoryName',title:'车辆系列名称',width:80},
					{field:'categoryDesc',title:'车辆系列描述',width:120}
				]],
				onHeaderContextMenu: function(e, field){
				}
			});
		});
		
		function add_vechile_series() {
			alert(111);
		}
		
	</script>
</head>
<body class="easyui-layout">
	<div region="west" split="true" title="新增车辆系列" style="width:250px;padding:10px;">
		车辆系列名称：<input type="text" id="vechile_name" name="vechile_name"/><br/>
		车辆系列描述：<textarea id="vechile_desc" name="vechile_desc" row=3 cols="17"></textarea><br/>
		<input type="button" onclick="add_vechile_series()" value="新增" >
	</div>
	<div region="center" title="车辆系列">
		<table id="tt"></table>
	</div>

</body>
</html>